<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #main{
            position: fixed;
            top: 0; left: 0;
            right: 0; bottom: 0;
        }
    </style>
</head>
<body>
<div id="main"></div>
<script src="./modules.js"></script>
<script src="./mapshaper.js"></script>
<script src="./geoland-formatter.js"></script>
<script>

    fetch("./data/china2.json")
        .then(res => res.json())
        .then(data => {
            Van.GeoLand.formatGeoJSON(data, {
                minPolygonArea: 0.3e10,
                simplifyPct: 1,
                name: "中国"
            }, console.log)
        });

</script>
</body>
</html>